package com.liwei.service.member.api.impl;

import com.mayikt.service.member.api.MemberService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MemberServiceImpl implements MemberService {

    @Value("${server.port}")
    private Integer serverPort;

    @Override
    public String getUser(@RequestParam("id") Integer id) {
        return "我是会员服务"+serverPort;
    }
}
